import LayerType from "./LayerType";

export default class ViewStruct {

	constructor() { }
    /**
	 * 层级类型 0窗口层,1主界面层,2弹窗提示层,3顶层
	 */
	public layerType: number = LayerType.TYPE_WINDOW;

	/**
	 * 9宫格布局
	 */
	public layout: number = LayerType.LAYOUT_CENTER;
	/**
	 * 是否显示背景遮罩
	 */
	public isShowBg: boolean = false;
	/**
	 * 是否同类型界面互斥
	 */
	public isExclusion: boolean = true;
	/**
	 * 打开界面是否有缓动特效
	 */
	public isEffect: boolean = false;

}